<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>this is a display page</title>
    <script type="text/javascript" src="<?=base_url().'js/renren.js'?>"></script>

</head>
<body>
    <img src="<?=base_url().'img/post.png'?>">

    <script type="text/javascript">
        var uiOpts = {
            url : "http://graph.renren.com/oauth/authorize",
            display : "iframe",
            params : {"response_type":"token","client_id":"202817"},
            onSuccess: function(r){
                top.location = "http://apps.renren.com/njuebook/index.php/home/index";
            },
            onFailure: function(r){}
        };
        Renren.ui(uiOpts);
    </script>
</body>
</html>